<HTML><HEAD><TITLE>result(+File)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(coverage)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>result(+File)</H1>
Pretty-print a file, including any code coverage results
<DL>
<DT><EM>File</EM></DT>
<DD>Atom or string
</DD>
</DL>
<H2>Description</H2>
<P>
    This will pretty-print the given source file, annotated with the
    values of code coverage counters. The resulting .html file will be
    placed in a sub-directory called 'coverage', relative to File.
    See result/2 for options to modify the output.
</P><P>
    This predicate only makes sense if File has previously been compiled
    in coverage mode (using coverage:ccompile/1,2), and the code has been
    run in order to obtain values for the coverage counters.
</P>
    
<H3>Modules</H3>
This predicate is sensitive to its module context (tool predicate, see @/2).
<H2>See Also</H2>
<A HREF="../../lib/coverage/result-2.html">result / 2</A>, <A HREF="../../lib/coverage/index.html">library(coverage)</A>, <A HREF="../../lib/pretty_printer/index.html">library(pretty_printer)</A>, <A HREF="../../lib/coverage/ccompile-1.html">ccompile / 1</A>
</BODY></HTML>
